home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / scanlib / draw_scan.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-07  |  462 b   |  19 lines

  1.  
  2. #include <suntool/sunview.h>
  3.  
  4. draw_scan()
  5. {
  6.         int i,j,s_type,color;
  7.         extern int scan_n_max,scan_col_dim,scan_region_index,symbol_size;
  8.     extern int *scan_type;
  9.     extern double *t_va,**scan_x;
  10.     extern Pixwin *pw;
  11.  
  12.         for(i=0;i<scan_n_max;i++) {
  13.         for(j=0;j<scan_col_dim;i++)
  14.             t_va[j] = scan_x[i][j];
  15.         decode_color_symbol(scan_type[i],&color,&s_type);
  16.                 pen_down(scan_region_index,pw,t_va,color,s_type,symbol_size,1);
  17.         }
  18. }
  19.